Vcenter Namespaces Mobility Virtualmachines Imports CreateSpec
The Vcenter Namespaces Mobility Virtualmachines Imports CreateSpec schema contains the specifications required to create an Import.
This schema was added in vSphere API 9.0.0.0.
{
"vm": "string",
"storage_policy": "string",
"subnet_mappings": {
"subnet_mappings": {
"name": "string",
"type": "string"
}
},
"network_customization": {
"customization_sysprep_user_data": {
"computer_name": "string",
"full_name": "string",
"org_name": "string",
"product_id": "string"
}
}
}
The VM to be imported.
This property was added in vSphere API 9.0.0.0.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: VirtualMachine
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: VirtualMachine
.
Storage policy to be used for the importing VM. A storage policy different from the VM's current storage policy might result in the associated storage resources being relocated to a datastore that conforms with the selected storage policy.
This property was added in vSphere API 9.0.0.0.
If missing or null
, and the target namespace has only a single storage policy, that storage policy will be used.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: SpsStorageProfile
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: SpsStorageProfile
.
Map of network device keys to Subnet information specifying the Subnets to which the VM's network devices should be connected.
The key of the map is the device key of the network device on the VM, and the value is the Subnet information. Each device key must be unique within the map; overlapping or duplicate device keys are not allowed.
This property was added in vSphere API 9.0.0.0.
If missing or null
, or any ethernet card is not specified, the default network configuration for the VM's target namespace will be used.
When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet
. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet
.
Network customization settings for Windows VM.
This property was added in vSphere API 9.0.0.0.
If missing or null
, Windows VM will not be able to receive new network identity assigned from the Supervisor workload network. This may result in a loss of network connectivity for VM that requires automated network identity configuration post import, such as systems not using DHCP. This field is not used for non-Windows VM.